/* 
 * File:   Response.h
 * Author: Denys Knertser
 *
 * Created on February 14, 2012, 2:16 PM
 */
#include "PacketFormat.h"
#include <openssl/md5.h>
#include <string>

#ifndef RESPONSE_H
#define	RESPONSE_H

class Response: public PacketFormat {
public:
    Response(std::string /*challenge_packet*/, std::string /*shared_secret*/, std::string /*client_challenge*/); 
private:
    int value_size;
    std::string value;
    std::string name;
    int calculateResponse(std::string);
    int checkServerAuth(std::string);
};

#endif	/* RESPONSE_H */

